$.validator.addMethod(
	"isZipCode", 
	function(value, element) {
		var tel = /^[0-9]{6}$/;
		return this.optional(element) || (tel.test(value));
	}, 
	"请正确填写您的邮政编码"
);